package sample;

import java.io.Serializable;

public class User implements Serializable {
    private String username;//用户名字
    private String password;//用户密码

    //有参构造
    public User(String username, String password) {
        this.username = username;
        this.password = password;
    }

    //无参构造
    public User() {
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}